package edu.mtu.citizenscience.ethnography;

import edu.mtu.citizenscience.ethnography.util.EthnographyActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class MainActivity extends EthnographyActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        
    }
    
    // Callback method for the new interview button
    public void newInterview(View v) {
    	Intent myintent = new Intent(v.getContext(), NewInterviewActivity.class);
		startActivityForResult(myintent,0);
    }
    
    // Callback method for the browse interviews button
    public void browseInterviews(View v) {
    	Intent myintent = new Intent(v.getContext(),InterviewListActivity.class);
		startActivityForResult(myintent,0);
    }
    
    public void settings(View v) {
    	Intent intent = new Intent(v.getContext(),SettingsActivity.class);
    	startActivityForResult(intent, 0);
    }

}
